package com.snopy.java8;

/**
 * @author snopy
 * @version 1.0.0
 * @classname E
 * @description
 * @email 77912204@qq.com
 * @date 2022/04/09 23:46
 */
public class E extends D implements A,B{
    @Override
    public String hi() {
        return null;
    }

    @Override
    public String greet() {
        return null;
    }
    /**
     * @Description 如果不覆盖或指定父接口的方法，类E将继承类D的hello()方法
     * @return: void
     * @Date 2022-04-09
     * @Author txl77912204@gmail.com
     **/
    @Override
    public void hello() {
        A.super.hello();
    }
}
